package com.ctshk.rpc.hotel.req.booking;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

@Data
@ApiModel(description="查询酒店产品单价req")
public class HotelProductUnitPriceReq implements Serializable {

    private static final long serialVersionUID = -5249203017265301323L;

    @NotNull(message = "酒店产品id必传")
    @ApiModelProperty(value = "酒店产品id", required = true)
    private Long hotelProductId;

    @NotNull(message = "下单类型必传")
    @ApiModelProperty(value = "下单类型(1 散客,2 代理商,3 大客户)", example = "1", required = true)
    private Integer ordersType;

    @ApiModelProperty(value = "下单人id,默认散客或者代理商id")
    private Long buyerId;

    @NotNull(message = "请填写入住日期")
    @ApiModelProperty(value = "入住日期", example = "2021-05-01", required = true)
    private LocalDate checkInDate;

    @NotNull(message = "请填写离店日期")
    @ApiModelProperty(value = "离店日期", example = "2021-05-03", required = true)
    private LocalDate checkOutDate;

}
